import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import actions from './actions'

Vue.use(Vuex)

const state={
	bankList:"",
	money:"",
	ranks:"",//用户推荐排行榜
	buyArr:"",//点买股票信息
	chargeUrl:"",
    token:'',//userId
    phone:'',//手机号
    phoneCode:"",//注册码
    pay:"",//支付跳转数据
    commonkey:"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDK39UZuExZ/LydZzZxLlF57nrowot4ATvQnhMG+iq/6QO9URCjDT5WkeN77bkUGnxxQNz3lRFRLZzQNqB81lgtsfdh/K/pVKZ4oPzJTpMLOXbxxlHhfFNDYIvpF/TZx/mYEj7f3K7+HfNq/JRf4Fq8jgjQ8p2GL5j6uyiCYgdQywIDAQAB"
}

export default new Vuex.Store({
    state,
    mutations,
    actions
})